package com.example.u11.prac1;

import java.util.*;

class Gerbil {
    private int gerbilNumber;

    public Gerbil(int number) {
        gerbilNumber = number;
    }

    public void hop(){
        System.out.println("NUMBER:"+gerbilNumber);
    }

    public static void main(String[] args) {
        List<Gerbil> list = new ArrayList();
        for (int i = 0; i < 10; i++) {
            list.add(new Gerbil(i));
        }

//        for (int i = 0; i < list.size(); i++) {
//            list.get(i).hop();
//        }

        Set set = new HashSet();
        set.add("1");
        set.add("1");
        set.add("2");
        System.out.println("Over");
    }
}
